home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / tclshell / variables < prev   
Encoding:
Text File  |  1992-12-17  |  2.4 KB  |  58 lines

  1.  
  2.  
  3.           The following variables are set and/or used by the Tcl
  4.           shell.
  5.  
  6.           argv A list containing the arguments passed in from the
  7.                command line, excluding arguments used by the Tcl
  8.                shell.  The first element is the first passed argument,
  9.                not the program name.
  10.  
  11.           interactiveSession
  12.                Set to 1 if Tcl shell is invoked interactively, or 0 if
  13.                the Tcl shell is directly executing a script.  Normally
  14.                checked by scripts so that they can function as a
  15.                standalone application if specified on the command
  16.                line, but merely load in and not execute if loaded
  17.                during an interactive invocation of Tcl.
  18.  
  19.           noAutoExec
  20.                If this variable exists and has a value of 1, then the
  21.                Tcl shell will not attempt to exec an non-existent
  22.                command as a shell command.
  23.  
  24.           programName
  25.                The name that the Tcl shell is executing as.  All
  26.                directory components are removed from the program name.
  27.  
  28.           TCLDEFAULT
  29.                Name of the default file that was used to locate all
  30.                other files used by the Tcl shell.
  31.  
  32.           TCLENV
  33.                Array that contains information used internally by
  34.                various Tcl procedures that are part of the Tcl shell.
  35.                Entries that you might want to modify are defined here.
  36.                Don't change any other entries.
  37.  
  38.           TCLENV(topLevelPromptHook)
  39.                Contains code to run to generate the prompt used when
  40.                interactively prompting for commands.  The code in this
  41.                hook will be evaluated and the result will be used for
  42.                the prompt.
  43.  
  44.           TCLENV(downLevelPromptHook)
  45.                Contains code to run to generate the prompt used when
  46.                interactively prompting for continuation of an
  47.                incomplete command.  The code in this hook will be
  48.                evaluated and the result will be used for the prompt
  49.  
  50.           TCLINIT
  51.                The name of the file that initializes, and does startup
  52.                processing of, Tcl.
  53.  
  54.           TCLPATH
  55.                Path to search to locate Tcl scripts.  Used by the load
  56.                and demand_load commands.  The path is a Tcl list (i.e.
  57.                zero or more space-separated directory names).
  58.